package com.ml.mall.bean.req.sys;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;

/**
 * @description 用户切换所属公司
 * @author pl
 * @date 2021/6/16
 * @version 1.0
*/
@Data
@Accessors(chain = true)
@ApiModel(value = "用户切换所属公司实体")
public class SysUserChangeCompanyDto {
    @ApiModelProperty(value = "转变公司id")
    @NotNull(message = "转变公司id不能为空")
    private Long companyId;

    @ApiModelProperty(value = "角色id")
    @NotNull(message = "角色id不能为空")
    private Integer roleId;
}
